package com.qfedu.lc.user.config;

import com.qfedu.lc.common.config.RabbitKeyConfig;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitConfig {


    // 创建发送验证码的队列
    @Bean
    public Queue createQCode(){
        return new Queue(RabbitKeyConfig.Q_SENDSMS);
    }



}
